package cn.virens.web.components.shiro.oauth2;

import org.apache.shiro.subject.SimplePrincipalCollection;

public class Oauth2PrincipalCollection extends SimplePrincipalCollection {
	private static final long serialVersionUID = -4767819596087531860L;

	private String authCode;
	private String authState;

	private Long expiresIn;
	private String accessToken;
	private String refreshToken;

	public Oauth2PrincipalCollection() {
		super();
	}

	public String getAuthCode() {
		return authCode;
	}

	public void setAuthCode(String authCode) {
		this.authCode = authCode;
	}

	public String getAuthState() {
		return authState;
	}

	public void setAuthState(String authState) {
		this.authState = authState;
	}

	public Long getExpiresIn() {
		return expiresIn;
	}

	public void setExpiresIn(Long expiresIn) {
		this.expiresIn = expiresIn;
	}

	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}

	public String getRefreshToken() {
		return refreshToken;
	}

	public void setRefreshToken(String refreshToken) {
		this.refreshToken = refreshToken;
	}
}
